import { createApp } from 'vue'
import App from './App.vue'
import 'amfe-flexible'
import Vant from 'vant'
import { Area } from 'vant';
import 'vant/lib/index.css'
import router from './router'
import './styles/index.scss' // 全局css样式
import pinia from './stores'
import '@/mock'
import HomeHeader from '@/components/homeHeader/index.vue'
// 注意：这种方式将会导入所有组件
import NutUI from "@nutui/nutui";

// 采用按需加载时  此全局css样式，需要删除
import "@nutui/nutui/dist/style.css";
const app = createApp(App)
app.use(Vant)
app.use(NutUI)

app.use(router)
app.use(pinia)
app.component('HomeHeader',HomeHeader)
app.mount('#app')
